package com.patrol.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.patrol.pojo.RiskPoint;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RiskPointDao extends BaseMapper<RiskPoint> {

    @Select("select id,name,latitude_x,latitude_x,longitude_y,status,create_time，update_time from risk_point")
    List<RiskPoint> selectAllRiskPoints();

}
